/**
 * @filename:Users 2020-07-01 11:26:46
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lwl.blue.commont.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>代码自动生成，请勿修改</p>
 *
 * <p>说明： 用户表实体类</P>
 *
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Users extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1593574006377L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String userName;
    private String password;
    private String name;
    private Integer roleType;
    /**
     * 数据权限类型
     * 0 修改 ，1 查看, 2 无权限
     */
    private Integer powerDataType;
    /**
     * 权限到期时间
     */
    @TableField(strategy = FieldStrategy.IGNORED)
    private Date powerLastTime;
    /***
     * 登录时间
     */
    private String allowLoginPeriod;

}
